<div id = "profile" class="col-main">
  <div class="main-wrap article">
    <div class = "title">
        <h2>修改头像</h2>
    </div>
    <div class = "undertitle">
      <form action="__ACTION__" method="post">
        <ul>
        <li class="item">
          <label>当前头像</label>
          <img id="avatar_view" src="{:NoticeUrl::getPhoto($self['uid'])}" />
          <input type="button" onclick="beginAvatar()" value="上传头像"/>
        </li>
        <li class="item">
          <a href="{:U('account/')}" class="input">完成修改</a>
        </li>
        <li style="display:none;">
          <div class="input" id="avatar_select">
          {:NoticeUrl::setAvatar($self['uid'])}
          </div>
        </li>
        </ul>
      
      </form>
    </div>
  </div>
</div>